﻿<include file="Common/header" />
<title>管理员</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 
<style>
.table-bg thead th{ background:none}
</style>
{:location()}

 <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="pd-20">
   
  <div class="cl pd-5 bg-1 bk-gray mt-20"> 
  <span class="l">
 
   <a _href="{:U('admin_edit')}" href="javascript:;" onClick="Hui_admin_tab(this);"  data-title="编辑管理员"   class="btn btn-primary radius"> 
   
   <i class="Hui-iconfont">&#xe600;</i> 添加管理员</a></span>  </div>
  <table class="table table-border table-bordered table-bg">
    <thead>
      <tr>
        <th scope="col" colspan="9">角色列表</th>
      </tr>
      <tr class="text-c">
        
        <th width="40">ID</th>
        <th width="250">用户昵称</th>
       <th width="250">用户名</th>
         <th width="250">角色</th>
         <th width="250">电话</th>
          <th width="250">邮箱</th>
  	
          <th width="250">备注</th>
          	 <th width="250">状态</th>
        <th width="100">操作</th>
      </tr>
    </thead>
    <tbody>
    
    <volist name="lists" id="vo"> 
      <tr class="text-c">
      
        <td>{$vo.id}</td>
        <td>{$vo.nickname}</td>
          <td>{$vo.username}</td>
            <td>  <span class="label label-primary   radius" title="{$vo.role_name}"> {$vo.role_name} </span></td> 
           <td>{$vo.tel}</td>
            <td>{$vo.email}</td>
              <td>{$vo.remark}</td>
         <td><if condition="$vo['status'] eq 1">
         <span class="label label-success radius" title="已启用"> 已启用 </span>
         
         <else />
         <span class="label label-error radius" title="已禁用"> 已禁用 </span>
         
         </if> </td>
       
  
  
        <td>
        
        <a title="编辑" _href='{:U('admin_edit',array('id'=>$vo['id']))}'  data-title="编辑角色"   href="javascript:;" onClick="Hui_admin_tab(this);" class="ml-5" style="text-decoration:none">
        <i class="Hui-iconfont">&#xe6df;</i></a>
        
         <a title="删除" href="javascript:;" _href="{:U('admin_del',array('id'=>$vo['id']))}" msg="确定要删除角色?"  class="ml-5 getajax_ldh del" style="text-decoration:none">
         <i class="Hui-iconfont">&#xe6e2;</i></a> 
         
         </td>
      </tr>
      </volist>
      
      
    </tbody>
  </table> 
  <div class="pages">
  {$Page} 
  </div>
</div>
</body>
</html>